import request from '@/utils/request'

export function page(query) {
  return request({
    url: '/api/adminBiz/marActivities/list',
    method: 'post',
    data: query
  })
}

export function addObj(obj) {
  return request({
    url: '/api/adminBiz/marActivities/add',
    method: 'post',
    data: obj
  })
}

export function getObj(obj) {
  return request({
    url: '/api/adminBiz/marActivities/info',
    method: 'post',
    data: obj
  })
}

export function delObj(obj) {
  return request({
    url: '/api/adminBiz/marActivities/delete',
    method: 'post',
    data: obj
  })
}

export function putObj(obj) {
  return request({
    url: '/api/adminBiz/marActivities/update',
    method: 'post',
    data: obj
  })
}
